package com.douxg.learning.tool.flowable.listener;

import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.ExecutionListener;

/**
 * @Description
 * @Auther douxg
 * @Date 2020/9/2 11:35
 */
@Slf4j
public class ServiceListener implements ExecutionListener {
    @Override
    public void notify(DelegateExecution delegateExecution) {
        String id = delegateExecution.getId();
        log.info("已过监听:" + delegateExecution);
    }
}
